﻿namespace TrafficWebApi.Models.Response
{
    public class OnCommondMessage
    {
        /// <summary>
        /// 生效页面
        /// </summary>
        public string EffectPage { get; set; } = string.Empty;
        /// <summary>
        /// 通知ID
        /// </summary>
        public string NotifyID { get; set; } = string.Empty;
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; } = string.Empty;
        /// <summary>
        /// 文本内容
        /// </summary>
        public string Content { get; set; } = string.Empty;
        /// <summary>
        /// 调用方法
        /// </summary>
        public string DoFunction { get; set; } = string.Empty;
        /// <summary>
        /// 参数
        /// </summary>
        public List<object>? FunctionArgs { get; set; } = new List<object>();
        /// <summary>
        /// 主体数据
        /// </summary>
        public object? Model { get; set; }
    }
}
